// First Donut chart on Dashboard
Morris.Donut({
    element: "coloredDonut",
    data: [ {
        value: 60,
        label: "药液充足"
    }, {
        value: 20,
        label: "剩余较多"
    }, {
        value: 15,
        label: "不足一半"
    }, {
        value: 5,
        label: "需要更换"
    },],
    labelColor: "#54728c",
//    colors: [ "#90c657", "#54728c", "#54b5df", "#f9a94a", "#e45857" ],
    colors: [ "#90c657", "#FFFF33", "#FF9933", "#e45857"],

    formatter: function(e) {
        return e + "%";
    }
});